#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    connect(ui->widget_honeycomb,&CHoneycombPickColor::sigSelected,
            ui->widget_rect,&CRectPickColor::setColor);

//    ui->widget_honeycomb->hide();
//    ui->widget_rect->setCellMargins(QMargins(5,5,5,5));
//    ui->widget_rect->setCellMargins(2);
    ui->widget_rect->setPickRowCol(6,4);
}

MainWindow::~MainWindow()
{
    delete ui;
}

